package com.generator.sysManage.userManage.dao;

import com.generator.sysManage.userManage.pojo.Dept;
import com.generator.sysManage.userManage.pojo.Job;
import com.generator.sysManage.userManage.pojo.Users;
import com.generator.sysManage.userManage.pojo.Users1;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IUMMap {

    //查询用户信息
    public List<Users> getUserListByUser(Users user);

    //查询所有部门
    public List<Dept> getDeptList(Dept dept);

    //查询所有部门
    public List<Job> getJobList(Job job);

    //查询单个用户信息
    public List<Users> queryOne(Users1 user);

    //添加用户
   public Integer addUser(Users1 user);

   //修改用户
    public Integer updateUser(Users1 user);

    //修改用户职位状态
    public Integer updateStatu(Users users);


}
